import Vue from 'vue'
import VueRouter from "vue-router";
import routes from './routes'

import Vant from 'vant';
import 'vant/lib/index.css';
// 把vant中所有的组件都导入了
Vue.use(Vant)

// 搜索
import { Search } from 'vant';

Vue.use(Search);

Vue.use(VueRouter)

const router = new VueRouter({
  routes
})

export default router